package com.szcinda.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface LinePriceRepository extends JpaRepository<LinePrice, String>, JpaSpecificationExecutor<LinePrice> {
    List<LinePrice> findByBelongId(String belongId);
    LinePrice findById(String id);

    List<LinePrice> findByBelongIdIn(List<String> ids);
}
